/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Billing.Model
{

    /// <summary>
    ///  pin、resourceId、resourceIdList 必传一个
    /// </summary>
    public class ResourceOrderQueryCondition
    {

        ///<summary>
        /// 主键id
        ///</summary>
        public int? Id{ get; set; }
        ///<summary>
        /// 用户pin(pin、resourceId、resourceIdList 必传一个)
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 资源id(pin、resourceId、resourceIdList 必传一个)
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// appCode
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 产品码列表
        ///</summary>
        public List<string> ServiceCodeList{ get; set; }
        ///<summary>
        /// 地域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 网络类型 0: non-BGP, 1: BGP
        ///</summary>
        public int? NetworkOperator{ get; set; }
        ///<summary>
        /// 计费类型 1:按配置 2:按用量 3:包年包月
        ///</summary>
        public int? BillingType{ get; set; }
        ///<summary>
        /// resourceIdList(pin、resourceId、resourceIdList 必传一个)
        ///</summary>
        public List<string> ResourceIdList{ get; set; }
        ///<summary>
        /// &gt;0: 订单还有几天到期; &#x3D;&#x3D;0: 订单已经到期; &lt;0: 不管是否到期
        ///</summary>
        public int? ExpireInDays{ get; set; }
        ///<summary>
        /// isOnTrial
        ///</summary>
        public int? IsOnTrial{ get; set; }
        ///<summary>
        /// 站点信息 0:中国 1:国际
        ///</summary>
        public int? Site{ get; set; }
        ///<summary>
        /// 资源状态 1:正常 2:停服 3:删除
        ///</summary>
        public int? Status{ get; set; }
        ///<summary>
        /// 计费状态 0:停止计费 1:计费中
        ///</summary>
        public int? BillingStatus{ get; set; }
        ///<summary>
        /// 1、内部计算，使用getExpiringOrderCount时使用，不用传值 默认为-1mybatis筛选时不会关注 2、selectResourceOrderForTask定时任务查询列表时使用，停服天数，必须大于0
        ///</summary>
        public int? ExpiringInDays{ get; set; }
        ///<summary>
        /// billingTypeList
        ///</summary>
        public List<double?> BillingTypeList{ get; set; }
        ///<summary>
        /// 交易单号列表
        ///</summary>
        public List<string> TransactionNos{ get; set; }
        ///<summary>
        /// OpTypes
        ///</summary>
        public List<double?> OpTypes{ get; set; }
        ///<summary>
        /// 开始时间
        ///</summary>
        public string StartTime{ get; set; }
        ///<summary>
        /// 结束时间
        ///</summary>
        public string EndTime{ get; set; }
        ///<summary>
        /// 服务编码
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// statusList
        ///</summary>
        public List<double?> StatusList{ get; set; }
        ///<summary>
        /// excludeResources
        ///</summary>
        public List<string> ExcludeResources{ get; set; }
        ///<summary>
        /// orderByClaus
        ///</summary>
        public string OrderByClaus{ get; set; }
        ///<summary>
        /// 专有云节点的code（节点云查询使用）
        ///</summary>
        public string Node{ get; set; }
        ///<summary>
        /// 部门（节点云查询使用）
        ///</summary>
        public int? DepartmentId{ get; set; }
        ///<summary>
        /// PinList
        ///</summary>
        public List<string> PinList{ get; set; }
        ///<summary>
        /// 是否是专有云 1:是  其他不是
        ///</summary>
        public int? IsSpecial{ get; set; }
        ///<summary>
        /// 节点信息
        ///</summary>
        public string NodeCode{ get; set; }
        ///<summary>
        /// 超时时间，暂时不用
        ///</summary>
        public int? Timeout{ get; set; }
        ///<summary>
        /// 当前页序号
        ///</summary>
        public int? PageIndex{ get; set; }
        ///<summary>
        /// 每页结果数量
        ///</summary>
        public int? PageSize{ get; set; }
        ///<summary>
        /// Offset
        ///</summary>
        public int? Offset{ get; set; }
    }
}
